<?php

namespace app\api\controller;



use app\common\controller\Api;
use app\common\exception\UploadException;
use app\common\library\Upload as libUpload;
use think\Config;
use think\Db;


class Upload extends Api
{
    protected $noNeedLogin = '*';
    protected $noNeedRight = '*';

    public function _initialize()
    {
        parent::_initialize();
    }


    public function uploadFile()
    {
        $res = file_put_contents('1.xlsx',file_get_contents('php://input'));
        $this->success('',$res);



    }


}